package ldkxingzhe.ldkxingzhedemo.tab;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import ldkxingzhe.ldkxingzhedemo.R;

/**
 * Created by liangdengke on 2015/9/1.
 */
public class CityItemViewHolder {
    public View itemUpShader;
    public LinearLayout layoutContent;
    public TextView cityName;
    public TextView currentCity;
    public ImageView ivMap;
    public TextView mapSize;
    public TextView downloaded, download;
    public ImageView progress, progressBackGround;
    public RelativeLayout progressRL;
    public TextView progressText;
    public View progressLayout;
    public RelativeLayout progressTextRL;

    public CityItemViewHolder(View view){
        itemUpShader = view.findViewById(R.id.down_city_up_shader);
        layoutContent = (LinearLayout)view.findViewById(R.id.layout_content);
        cityName = (TextView)view.findViewById(R.id.tv_cityname);
        currentCity = (TextView)view.findViewById(R.id.tv_currentcity);
        ivMap = (ImageView)view.findViewById(R.id.iv_map);
        mapSize = (TextView)view.findViewById(R.id.tv_map_size);
        downloaded = (TextView)view.findViewById(R.id.tv_finish);
        download = (TextView)view.findViewById(R.id.bt_operate);
        progress = (ImageView)view.findViewById(R.id.iv_progress);
        progressBackGround = (ImageView)view.findViewById(R.id.iv_background);
        progressRL = (RelativeLayout)view.findViewById(R.id.rl_progress);
        progressText = (TextView)view.findViewById(R.id.tv_progress_size);
        progressLayout = view.findViewById(R.id.layout_progress);
        progressTextRL = (RelativeLayout)view.findViewById(R.id.rl_progress_txt);
    }
}
